home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM A / PD-ROM A.iso / Utility / Text / Macify / About Macify Stack / card_8700.txt < prev    next >
Encoding:
Text File  |  1988-10-15  |  1.6 KB  |  49 lines

  1. -- card: 8700 from stack: in
  2. -- bmap block id: 8878
  3. -- flags: 0000
  4. -- background id: 2643
  5. -- name: Spaces
  6.  
  7.  
  8. -- part 3 (button)
  9. -- low flags: 00
  10. -- high flags: 2000
  11. -- rect: left=21 top=243 right=263 bottom=182
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Options
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   visual effect wipe up
  23.   go to card (short name of me)
  24. end mouseUp
  25.  
  26.  
  27.  
  28. -- part contents for background part 2
  29. ----- text -----
  30. Replace Many Spaces
  31.  
  32. -- part contents for background part 3
  33. ----- text -----
  34.  
  35.  
  36.  
  37.  
  38. ‚Äî Return to Options
  39.  
  40. -- part contents for background part 1
  41. ----- text -----
  42. This item lets you replace any consecutive number of spaces with any single character. A dialog box will appear. Type the number of consecutive spaces for which Macify should wait in the first box, and the character Macify should use to replace those spaces in the second box. 
  43.  
  44. Note that the character must be entered as an ASCII code number (this is so you can enter characters like Tab or Return, if you wish). If you don‚Äôt know the ASCII code, then hit the What is ASCII button for an explanation. 
  45.  
  46. Also, do not forget to check the Replace as follows ‚Ķ box at the top of the dialog if you want Macify to actually do the search and replace as you have specified.
  47.  
  48. So, to actually convert ‚Äú2 or more spaces into tabs‚Äù you would make sure the first box has a 2 in it, make sure the second box has a 9 (ASCII for Tab) in it, make sure the check box is checked, and hit the OK button.
  49.